package com.gw.smscheck.entity.business.positionInfo;

import com.gw.smscheck.entity.sys.BasePager;

import java.io.Serializable;
/**
* tb_position_trajectory 实体类
* @author pzr 
* @date 2018-10-31 14:26:23
*/ 
public class PositionTrajectory extends BasePager implements Serializable{
	private static final long serialVersionUID = -1L;
	/**
	 * 创建时间
	 */
	private String createTime ;
	/**
	 * 创建人
	 */
	private String createUser ;
	/**
	 * 
	 */
	private Integer id ;
	/**
	 * 最后时间点
	 */
	private String lastTime ;
	/**
	 * 纬度
	 */
	private Double lat ;
	/**
	 * 经度
	 */
	private Double lng ;
	/**
	 * 手机号
	 */
	private String phoneNum ;
	/**
	 * 状态
	 */
	private String state ;
	/**
	 * 出现时间
	 */
	private String time ;

	public void setCreateTime(String createTime){
		this.createTime=createTime;
	}
	public String getCreateTime(){
		return createTime;
	}

	public void setCreateUser(String createUser){
		this.createUser=createUser;
	}
	public String getCreateUser(){
		return createUser;
	}

	public void setId(Integer id){
		this.id=id;
	}
	public Integer getId(){
		return id;
	}

	public void setLastTime(String lastTime){
		this.lastTime=lastTime;
	}
	public String getLastTime(){
		return lastTime;
	}

	public Double getLat() {
		return lat;
	}

	public void setLat(Double lat) {
		this.lat = lat;
	}

	public Double getLng() {
		return lng;
	}

	public void setLng(Double lng) {
		this.lng = lng;
	}

	public void setPhoneNum(String phoneNum){
		this.phoneNum=phoneNum;
	}
	public String getPhoneNum(){
		return phoneNum;
	}

	public void setState(String state){
		this.state=state;
	}
	public String getState(){
		return state;
	}

	public void setTime(String time){
		this.time=time;
	}
	public String getTime(){
		return time;
	}

	/**
	 * 筛选所用到的属性
	 */
	private String sTime;//开始时间
	private String eTime;//结束时间

	public String getsTime() {
		return sTime;
	}

	public void setsTime(String sTime) {
		this.sTime = sTime;
	}

	public String geteTime() {
		return eTime;
	}

	public void seteTime(String eTime) {
		this.eTime = eTime;
	}


	// 重写Object对象的equals方法
	@Override
	public boolean equals(Object obj) {
		if (this == obj) {
			return true;
		} else {
			if (obj == null) {
				return false;
			}
			final PositionTrajectory positionTrajectory = (PositionTrajectory) obj;
			if (this.getId().equals( positionTrajectory.getId() )) {
				return true;
			} else {
				return false;
			}
		}
	}
}

